<?php

require_once('../../conf/conf.inc');
require_once('../../util/util.php');
require_once('../../util/DBHelper.php');


$login_prompt_value = '';

$str_sql = "select remark from t_config_logic where name = 'user_first_login';";

$con = DBHelper::CreateConnect();

if($con == null)
	die('cound not connect to database');
	
$result = mysql_query($str_sql, $con); 


if($row = mysql_fetch_assoc($result))
{
    $login_prompt_value = $row["remark"];
}

mysql_free_result($result);
mysql_close($con);
?>



<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title></title>
    <link type="text/css" href="../cs/default.css" rel="stylesheet"></link> 

    <script type="text/javascript">
       
    </script>
  </head>
  <body>
    <form method="post" id="form" action="../../main.php"> 
    <input type="hidden" name="command_page" value="sys_config" />
    <input type="hidden" name="command_type" value="update_login_prompt" />

      <table cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="2">
            <span>配置信息</span>
          </td>
        </tr>

        <tr>
          <td>
            <span>用户登录提示信息</span>
          </td>
          <td>
            <input type="text" name="prompt_value" id="prompt_value" value="<?php echo $login_prompt_value?>"/>
          </td>
        </tr> 
        <tr>
          <td colspan="2">
            <input type="submit" style="width: 80px;" value="修改" />
          </td>
        </tr>
      </table>
    </form>
  </body>
</html>